package com.org.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * ClassName: Banner
 * Package: com.org.pojo
 * Description:
 *
 * @Author Origin
 * @Create 2024/2/24 21:58
 * @Version 1.0
 */

@Data
@TableName("banner")
public class Banner {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id; //主键id
    private String title;   //标题
    private String img; //图片
    private String content; //内容
    private Integer communityId;    //所在社区
}
